package com.itheima.service.mongo;

import com.itheima.domain.mongo.UserLike;

import java.util.List;

public interface UserLikeService {

    List<UserLike> findAll(Long userId);

    // 保存喜欢的数据
    void save(UserLike userLike);

    // 判断是否互相喜欢
    boolean isLove(Long userId, Long likeUserId);


    void delete(Long toUserId, long uid);
}
